 /*
  * Copyright (c) 2021, 2023, yishun.cn All rights reserved.
  *
  */
 package cn.shun.exception;

 import lombok.Getter;
 import lombok.Setter;

 /**
  * <p>Project: sboot_2023-cn.shun.exception-BizException
  * <p>Powered by yishun On 2023-04-14 20:00:05
  *
  * @author yishun [2465734101@qq.com]
  * @version 1.0
  * @since 17
  */
 public class BizException extends RuntimeException {

     @Getter
     @Setter
     private Integer code;

     public BizException(int code, String msg) {
         super(msg);
         this.code = code;
     }
 }
